import React from "react"
import Son from './son'

const context = React.createContext({ name: 'kaho' })
export const { Provider, Consumer } = context

export default function Father() {
    return (
        <Provider value={{ name: 'dsl' }}>
            <Son />
        </Provider>
    )
}
